---------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_logs/figure4.log
  log type:  text
 opened on:   3 Aug 2022, 09:58:33

. 
.         use "$Rep_smokelabor/1_build/regdata/county_quarter.dta", clear 

.                 
.         binscatter pm25  hms_deep [aw=seer_pop], controls(i.fe_styr) absorb(fe_countyqtroy) n(10) noaddmean ///
>                 xtitle("Smoke",size(huge)) ytitle("PM2.5",size(huge)) ///
>                 xline(0,lp(dot) lcol(black)) yline(0,lp(dot) lcol(black)) ///
>                 ylab(-0.6(0.3)0.6,labsize(vlarge) nogrid) ///
>                 xlab(,labsize(vlarge)) ///
>                 mcol(blue) lcol(teal) ///
>                 graphregion(col(white)) ///
>                 xsize(4.5)

.         gr export "$Rep_smokelabor/2_analysis/output_figures/figure4_a.pdf", replace                                    
(file C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_figures/figure4_a.pdf written in PDF format)

.         
.         binscatter d_pc_qwi_payroll hms_deep [aw=seer_pop], controls(i.fe_styr) absorb(fe_countyqtroy) n(10) noaddmean ///
>                 xtitle("Smoke",size(huge)) ytitle("Earnings",size(huge)) ///
>                 xline(0,lp(dot) lcol(black)) yline(0,lp(dot) lcol(black)) ///
>                 ylab(-60(30)60,labsize(vlarge) nogrid) ///
>                 xlab(,labsize(vlarge)) ///
>                 mcol(blue) lcol(teal) ///
>                 graphregion(col(white)) ///
>                 xsize(4.5)

.         gr export "$Rep_smokelabor/2_analysis/output_figures/figure4_b.pdf", replace                                    
(file C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_figures/figure4_b.pdf written in PDF format)

.         
.         binscatter d_pmil_qwi_emptotal hms_deep [aw=seer_pop16plus], controls(i.fe_styr) absorb(fe_countyqtroy) n(10) noaddmean ///
>                 xtitle("Smoke",size(huge)) ytitle("Employment",size(huge)) ///
>                 xline(0,lp(dot) lcol(black)) yline(0,lp(dot) lcol(black)) ///
>                 ylab(-1500(750)1500,labsize(vlarge) nogrid) ///
>                 xlab(,labsize(vlarge)) ///
>                 mcol(blue) lcol(teal) ///
>                 graphregion(col(white)) ///
>                 xsize(4.5)

.         gr export "$Rep_smokelabor/2_analysis/output_figures/figure4_c.pdf", replace                                    
(file C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_figures/figure4_c.pdf written in PDF format)

.         
.         binscatter d_pmil_lau_lfp hms_deep [aw=seer_pop], controls(i.fe_styr) absorb(fe_countyqtroy) n(10) noaddmean ///
>                 xtitle("Smoke",size(huge)) ytitle("LFP",size(huge)) ///
>                 xline(0,lp(dot) lcol(black)) yline(0,lp(dot) lcol(black)) ///
>                 ylab(-500(250)500,labsize(vlarge) nogrid) ///
>                 xlab(,labsize(vlarge)) ///
>                 mcol(blue) lcol(teal) ///
>                 graphregion(col(white)) ///
>                 xsize(4.5)

.         gr export "$Rep_smokelabor/2_analysis/output_figures/figure4_d.pdf", replace                                    
(file C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_figures/figure4_d.pdf written in PDF format)

. 
. log close
      name:  <unnamed>
       log:  C:\Users\Eric Zou\Dropbox\replicate_smokelabor/2_analysis/output_logs/figure4.log
  log type:  text
 closed on:   3 Aug 2022, 10:00:04
---------------------------------------------------------------------------------------------------------------------------------------------------------
